<div id="content">
	<div style="border:1px solid #E5E5E5;">
		<form method="POST" action="<?php echo base_url();?>admin/testimonials/index" name="adminForm" id="adminForm">
			<?php foreach($result as $results):?>
			<div>
				<span class="testimonial-field-label">Author:</span>
				<span><?php echo $results->firstname.' '.$results->lastname;?></span>
			</div>
			<div>
				<span class="testimonial-field-label">Status:</span>
				<span><?php echo ($results->status=='1') ? 'Published' : 'Unpublished'; ?></span>
			</div>
			<div id="testimonial-content-wrap">
				<div id="testimonial-content-title">Testimonials</div>
				<div id="testimonial-content"><?php echo $results->testimonial;?></div>
			</div>
			<?php endforeach;?>
			<div style="margin:5px;">
				<input class="button" type="submit" value="Delete" onclick="confirm('You want to delete this record?');"/>
			</div>
			<input type="hidden" name="checkid" value="<?php echo $results->testimonialid; ?>"/>
			<input type="hidden" name="task" value="delete"/>
		</form>
	</div>
</div>